* w32-fns.el (x-selection-owner-p): New function.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 17 Jul 2009 15:45:08 +0000 (15:45 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 17 Jul 2009 15:45:08 +0000 (15:45 +0000)
commit0de8aeeb2b636808675ad638534fbed8e96fe7b2
tree43008bc0c1846fa4391298a6354959f7cade045c
parent088f44d37b45881baef1c2ae684599406aabd587
* w32-fns.el (x-selection-owner-p): New function.

* mouse.el (mouse-drag-track): Call deactivate-mark earlier.
(mouse-yank-at-click): If select-active-regions is non-nil,
deactivate the mark before insertion.

* simple.el (deactivate-mark, set-mark): Only save selection if we
own it.
lisp/ChangeLog
lisp/mouse.el
lisp/simple.el
lisp/w32-fns.el